<template>
    <div>页面正在刷新，请稍后……</div>
</template>

<script lang="ts" setup>
import { useRoute,useRouter } from 'vue-router';

// 路由
const route = useRoute()

// 路由器
const router = useRouter()

const {params:{backpath}} = route   //获取查询参数信息

setTimeout(()=>{
    router.replace(backpath as string)          //重新跳转回原来的路由
},300)
</script>